.user-coach-content {
  width: 100%;
  margin-top: 10px;
}

.user-coach-cards {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30rpx;
}

/* 教练卡片 */
.user-coach-card {
  border-radius: 16rpx;
  overflow: hidden;
  margin-top: 10px;
  margin-bottom: 10px;
  box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.user-coach-card:active {
  transform: translateY(-5rpx);
  box-shadow: 0 8rpx 30rpx rgba(0, 0, 0, 0.1);
}

/* 活跃教练卡片 */
.user-coach-active-coach-card .user-coach-card-header {
  background: linear-gradient(90deg, #1890ff 0%, #096dd9 100%);
}

/* 已毕业教练卡片 */
.user-coach-graduated-coach-card .user-coach-card-header {
  background: linear-gradient(90deg, #52c41a 0%, #7cb305 100%);
}

/* 已更换教练卡片 */
.user-coach-transferred-coach-card .user-coach-card-header {
  background: linear-gradient(90deg, #dbdbd8 0%, #898888 100%);
}

/* 卡片头部 */
.user-coach-card-header {
  padding: 24rpx;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.user-coach-card-header-left {
  display: flex;
  align-items: center;
  gap: 10rpx;
}

.user-coach-license-type {
  font-size: 30rpx;
  font-weight: bold;
  color: #fff;
}

.user-coach-license-name {
  font-size: 26rpx;
  color: #fff;
  opacity: 0.9;
}


.user-coach-status-tag {
  padding: 8rpx 20rpx;
  border-radius: 20rpx;
  background-color: rgba(255, 255, 255, 0.2);
}

.user-coach-status-tag.user-coach-active-coach-card {
  background-color: rgba(255, 255, 255, 0.2);
}

.user-coach-status-tag.user-coach-graduated-coach-card {
  background-color: rgba(255, 255, 255, 0.2);
}

.user-coach-status-tag.user-coach-transferred-coach-card {
  background-color: rgba(0, 0, 0, 0.1);
}

.user-coach-status-text {
  font-size: 24rpx;
  color: #fff;
}

/* 卡片内容 */
.user-coach-card-body {
  padding: 30rpx;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  gap: 20rpx;
}

/* 教练头像 */
.user-coach-avatar-container {
  width: 100rpx;
  height: 100rpx;
  border-radius: 50%;
  overflow: hidden;
  background-color: #f0f0f0;
}

.user-coach-first-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20rpx;
}

/* 教练信息 */
.user-coach-info {
  flex: 1;
  display: flex;
  align-items: center;
}

.user-coach-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16rpx;
  justify-content: space-between;
}

.user-coach-age-experience {
  display: flex;
  gap: 15rpx;
}

.user-coach-name {
  font-weight: bold;
  color: #333;
}

/* 第二行两列布局 */
.user-coach-second-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 20rpx;
  margin-bottom: 16rpx;
}

/* 左侧列：籍贯和查看教练证 */
.user-coach-details {
  display: flex;
  flex-direction: column;
  gap: 10rpx;
  flex: 1;
  justify-content: space-between;
}

.user-coach-certificate-btn {
  font-size: 24rpx;
  color: #1890ff;
  padding: 8rpx 16rpx;
  line-height: 1;
  border: 1px solid #f0f0f0;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8rpx;
}

/* 右侧列：城市和驾校信息 */
.user-coach-specialties {
  display: flex;
  flex-direction: column;
  gap: 10rpx;
  flex: 1;
  justify-content: space-between;
}

.city-tag {
  color: #666;
  font-size: 24rpx;
  padding: 8rpx 16rpx;
  background-color: #f7f7f7;
  border-radius: 8rpx;
  text-align: center;
}

.school-tag {
  color: #999;
  font-size: 24rpx;
  padding: 8rpx 16rpx;
  background-color: #f0f0f0;
  border-radius: 8rpx;
  text-align: center;
}

/* 评价按钮容器 */
.user-coach-evaluate-btn-container {
  width: 100%;
  display: flex;
  margin-top: 20rpx;
  padding-top: 20rpx;
  border-top: 1px solid #f0f0f0;
}

.user-coach-evaluate-btn {
  background-color: #1989fa;
  color: white;
  border-radius: 20rpx;
  padding: 12rpx 30rpx;
  font-size: 24rpx;
  width: 100%;
  margin: 0;
}

/* 评价模态框样式 */
.user-coach-evaluate-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.user-coach-evaluate-modal {
  width: 85%;
  max-width: 600rpx;
  background-color: white;
  border-radius: 16rpx;
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.user-coach-evaluate-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24rpx 32rpx;
  border-bottom: 1rpx solid #f0f0f0;
}

.user-coach-evaluate-modal-title {
  font-size: 32rpx;
  font-weight: bold;
  color: #333;
}

.user-coach-evaluate-modal-close {
  padding: 8rpx;
}

.user-coach-evaluate-modal-content {
  padding: 24rpx 32rpx;
  flex: 1;
  overflow-y: auto;
}

/* 教练信息 */
.user-coach-evaluate-coach-info {
  margin-bottom: 24rpx;
  padding-bottom: 24rpx;
  border-bottom: 1rpx solid #f0f0f0;
}

.user-coach-evaluate-coach-name {
  font-size: 32rpx;
  color: #333;
  font-weight: 500;
}

/* 评分区域 */
.user-coach-evaluate-rating-section {
  margin-bottom: 32rpx;
}

.user-coach-evaluate-rating-label {
  font-size: 28rpx;
  color: #333;
  margin-bottom: 16rpx;
  display: block;
}

.user-coach-evaluate-stars {
  width: 90%;
  height: 80rpx;
  margin-top: 20rpx;
  position: relative;
}

.user-coach-evaluate-star {
  padding: 4rpx;
}

/* 评论内容区域 */
.user-coach-evaluate-comment-section {
  margin-bottom: 32rpx;
}

.user-coach-evaluate-comment-label {
  font-size: 28rpx;
  color: #333;
  margin-bottom: 16rpx;
  display: block;
}

.user-coach-evaluate-textarea {
  border: 1rpx solid #d9d9d9;
  border-radius: 8rpx;
  padding: 16rpx;
  font-size: 28rpx;
  color: #333;
  height: 200rpx;
  width: 100%;
  box-sizing: border-box;
  resize: none;
}

.user-coach-evaluate-comment-count {
  text-align: right;
  font-size: 24rpx;
  color: #999;
  margin-top: 8rpx;
  display: block;
}

/* 图片上传区域 */
.user-coach-evaluate-image-section {
  margin-bottom: 16rpx;
}

.user-coach-evaluate-image-label {
  font-size: 28rpx;
  color: #333;
  margin-bottom: 16rpx;
  display: block;
}

.user-coach-evaluate-image-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16rpx;
}

.user-coach-evaluate-image-item {
  width: 160rpx;
  height: 160rpx;
  position: relative;
  border-radius: 8rpx;
  overflow: hidden;
  border: 1rpx solid #f0f0f0;
}

.user-coach-evaluate-image {
  width: 100%;
  height: 100%;
}

.user-coach-evaluate-image-delete {
  position: absolute;
  top: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 8rpx;
  border-radius: 0 0 0 12rpx;
}

.user-coach-evaluate-image-add {
  width: 160rpx;
  height: 160rpx;
  border: 1rpx dashed #d9d9d9;
  border-radius: 8rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fafafa;
}

/* 模态框底部按钮 */
.user-coach-evaluate-modal-footer {
  display: flex;
  gap: 16rpx;
  padding: 24rpx 32rpx;
  border-top: 1rpx solid #f0f0f0;
}

.user-coach-evaluate-cancel-button {
  flex: 1;
  border: 1rpx solid #d9d9d9;
  background-color: white;
  color: #333;
  border-radius: 8rpx;
}

.user-coach-evaluate-submit-button {
  flex: 1;
  background-color: transparent;
  color: #1989fa;
  border-radius: 8rpx;
}

.user-coach-evaluate-submit-button:disabled {
  background-color: #d9d9d9;
  color: #fff;
}


/* 执照图片模态框样式 */
.user-coach-license-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.user-coach-license-modal {
  width: 90%;
  max-width: 500px;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.user-coach-license-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
}

.user-coach-license-modal-title {
  font-weight: 500;
  color: #333;
}

.user-coach-license-modal-close {
  color: #999;
  cursor: pointer;
  padding: 0;
  margin: 0;
}

.user-coach-license-modal-close:active {
  color: #666;
}

.user-coach-license-modal-content {
  padding: 20px;
  max-width: 80vh;
  max-height: 80vh;
  overflow-y: auto;
}

.user-coach-no-license-text {
  display: block;
  text-align: center;
  color: #999;
  padding: 40px 0;
}

.user-coach-license-modal-footer {
  padding: 16px 20px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  justify-content: flex-end;
}

.user-coach-license-modal-button {
  background-color: #1989fa;
  color: #fff;
  border-radius: 4px;
  padding: 8px 16px;
}

